﻿using System;
using System.Management;

namespace Aspects.Unit
{
    class UnitCpu
    {
        public static string GetCpuInfo()
        {
            ManagementObject obj = new ManagementObject(@"root\cimv2:Win32_Processor='cpu0'");
            return obj["Name"].ToString().Trim();
        }
    }
}
